#!/bin/bash

if [ ! -d "acme/home" ]; then
  # down acme from github
  cd acme
  wget -O acme.sh-master.zip https://codeload.github.com/acmesh-official/acme.sh/zip/refs/heads/master && \
  unzip acme.sh-master.zip
  mv acme.sh-master home
  cd ../
  cp account.conf acme/home/
fi



docker build -t chad/nginx .